package com.jiahui.adapter;

import java.util.List;

import com.jiahui.model.Account;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class CurrentAccountListAdapter extends BaseAdapter {

	private List<Account> accounts;
	
	private Context context;

	
	public CurrentAccountListAdapter(Context context,List<Account> accounts) {

		this.context=context;
		this.accounts=accounts;
	
	
	}
	

	public int getCount() {
	
		return accounts.size();
	}


	public Object getItem(int arg0) {
		
		return accounts.get(arg0);
	}

	
	public long getItemId(int arg0) {
		
		return 0;
	}


	public View getView(int arg0, View arg1, ViewGroup arg2) {
		// TODO Auto-generated method stub
		return null;
	}

}
